<%
    String title = (String) request.getAttribute("title");
    String description = (String) request.getAttribute("description");
    String keywords = (String) request.getAttribute("keyword");
%>
<jsp:include page="/layouts/header.jsp">
    <jsp:param name="title" value="<%=title %>" />
    <jsp:param name="description" value="<%=description %>" />
    <jsp:param name="keywords" value="<%=keywords %>" />
    <jsp:param name="page" value="home" />
    <jsp:param name="ogtitle" value="Y1s Game Directory" />
    <jsp:param name="ogimage" value="http://www.y1s.org/images/logo.png" />
    <jsp:param name="ogescription" value="Home Page Y1s" />
</jsp:include>
<div class="infopage">
    <div class="topinfo">
         <div class="tleft">
             <h1>Submit A Game</h1>
         </div>
         <div class="clear"></div>
    </div>

    <form action="/add-game" method="post" enctype="multipart/form-data">
	    <div>
	        <div><label>Name</label></div>
	        <div><input type="text" value="title" name="name" /></div>
	    </div>
	    <div>
	        <div><label>Tag</label></div>
	        <div><input type="text" value="tag" name="tag" /></div>
	    </div>
	    <div>
	        <div><label>Description</label></div>
	        <div><textarea rows="5" cols="100" name="description">description</textarea></div>
	    </div>
	    <div>
	        <div><label>Game control</label></div>
	        <div><textarea rows="3" cols="100" name="game_control">game control</textarea></div>
	    </div>
	    <div>
	        <div><label>Upload Image</label></div>
	        <div><input type="file" value="" name="image"></div>
	    </div>
	    <div>
	        <div><label>Upload game</label></div>
	        <div><input type="file" value="" name="flashgame"></div>
	    </div>  
	    <div>
	        <input type="submit" value="submit"></input>
	    </div>
	</form>
</div>
<jsp:include page="/layouts/footer.jsp">
    <jsp:param name="language" value="1" />
</jsp:include>